/*
 * @Descripttion: 
 * @version: 
 * @Author: LLP
 * @Date: 2019-12-21 15:02:09
 * @LastEditors: LLP
 * @LastEditTime: 2019-12-22 21:09:20
 */
import request from '@/filter/request'
/**
 * @name: 
 * @test: test font
 * @msg: 
 * @param {type} 
 * @return: 
 */
export function kycverification(data) {
    return request({
        url: '/user/kycverification',
        method: 'post',
        data
    })
}
/**
 * @name: 用户信息
 * ----------------
 * @test: test font
 * @msg: 
 * @param {type} 
 * @return: 
 */
export function setsomeinfo(data) {
    return request({
        url: '/user/setsomeinfo',
        method: 'post',
        data
    })
}
/**
 * @name: 消息列表
 * ---------------- 
 * @test: test font
 * @msg: 
 * @param {type} 
 * @return: 
 */
export function noticelist(data) {
    return request({
        url: '/user/noticelist',
        method: 'post',
        data
    })
}
/**
 * [emailVerification description]
 * 绑定邮箱号
 * ----------------------------------
 * @Author   LLP
 * @DateTime 2019-12-23T18:14:04+0800
 * @param    {[type]}                 data [description]
 * @return   {[type]}                      [description]
 */
export function emailVerification(data) {
    return request({
        url: '/user/email_verification',
        method: 'post',
        data
    })
}
/**
 * [bindPhone description]
 * 绑定手机号
 * ------------------------------------
 * @Author   LLP
 * @DateTime 2019-12-24T16:46:38+0800
 * @param    {[type]}                 data [description]
 * @return   {[type]}                      [description]
 */
export function bindPhone(data) {
    return request({
        url: '/user/bindphone',
        method: 'post',
        data
    })
}
/**
 * [changeLoginPassword description]
 * 修改登录密码
 * ----------------------------------
 * @Author   LLP
 * @DateTime 2019-12-24T17:31:19+0800
 * @param    {[type]}                 data [description]
 * @return   {[type]}                      [description]
 */
export function changeLoginPassword(data) {
    return request({
        url: '/user/changeloginpassword',
        method: 'post',
        data
    })
}
/**
 * [changePhone description]
 * 修改手机号
 * -----------------------------
 * @Author   LLP
 * @DateTime 2019-12-24T18:22:55+0800
 * @param    {[type]}                 data [description]
 * @return   {[type]}                      [description]
 */
export function changePhone(data) {
    return request({
        url: '/user/changephone',
        method: 'post',
        data
    })
}
/**
 * [setFundPassword description]
 * 设置资金密码
 * -----------------------------
 * @Author   LLP
 * @DateTime 2019-12-25T14:59:55+0800
 * @param    {[type]}                 data [description]
 */
export function setFundPassword(data) {
    return request({
        url: '/user/setfundpassword',
        method: 'post',
        data
    })
}
/**
 * [forgotFundPassword description]
 * 忘记资金密码
 * ---------------------------------
 * @Author   LLP
 * @DateTime 2019-12-25T15:50:19+0800
 * @param    {[type]}                 data [description]
 * @return   {[type]}                      [description]
 */
export function forgotFundPassword(data) {
    return request({
        url: 'user/forgot_fund_password',
        method: 'post',
        data
    })
}
/**
 * [changeFundPassword description]
 *修改资金密码
 *-----------------------------------
 * @Author   LLP
 * @DateTime 2019-12-25T16:08:36+0800
 * @param    {[type]}                 data [description]
 * @return   {[type]}                      [description]
 */
export function changeFundPassword(data) {
    return request({
        url: '/user/change_fund_password',
        method: 'post',
        data
    })
}
/**
 * @Author   LLP
 * 上传第一张图片
 * -----------------
 * @DateTime 2019-12-25T18:21:26+0800
 * @param    {[type]}                 data [description]
 * @return   {[type]}                      [description]
 */
export function imageUpload1(data) {
    return request({
        url: '/image/upload1',
        method: 'post',
        data
    })
}
/**
 * [imageUpload2 description]
 * 上传第二张图片
 * ---------------------------
 * @Author   LLP
 * @DateTime 2019-12-25T18:22:45+0800
 * @param    {[type]}                 data [description]
 * @return   {[type]}                      [description]
 */
export function imageUpload2(data) {
    return request({
        url: '/image/upload2',
        method: 'post',
        data
    })
}